import axios from "axios";
import http from "@/api/http.js";
const baseUrl = "http://localhost:8091";
const productionProcessRequest= {
//     根据id查询数据信息
    loadSelectByIdProductionProcess(productionProcessId,callBack){
        let url = baseUrl + "/productionProcess/selectById?productionProcessId=" + productionProcessId;
        axios.get(url, {
            headers: {
                token: localStorage.getItem("token")
            }
        }).then(res => {
            callBack(res.data);
        })
    },
}